<template>
  <div>
    <h4>这是自组件</h4>
    <p>{{ user }}</p> 
  </div>
</template>

<script>
export default {
  data() {
    return {
      user: {
        name: '李四',
        age: 30
      }
    }
  } 
};
</script>
